package com.fadadianqi.logistics.inventory.dao.ibatis;

import com.fadadianqi.commons.GenericDAOSuport;
import com.fadadianqi.logistics.inventory.dao.DispatchLogDAO;
import com.fadadianqi.logistics.inventory.model.DispatchLog;
import org.springframework.stereotype.Component;

@Component
public class DispatchLogDAOImpl extends GenericDAOSuport<String, DispatchLog>
        implements DispatchLogDAO {

    @Override
    protected Class<?> getObjectClass() {
        return DispatchLog.class;
    }

    @Override
    protected String getTableName() {
        return "dispatch_log";
    }
}
